#include<iostream>
#include<string>

using namespace std;

int main(){
    cout<<"char占"<<sizeof(char)<<"字节"<<endl;
    cout<<"bool占"<<sizeof(bool)<<"字节"<<endl;
    cout<<"signed char占"<<sizeof(signed char)<<"字节"<<endl;
    cout<<"unsigned char占"<<sizeof(unsigned char)<<"字节"<<endl;
    cout<<"short占"<<sizeof(short)<<"字节"<<endl;
    cout<<"unsigned short占"<<sizeof(unsigned short)<<"字节"<<endl;
    cout<<"int占"<<sizeof(int)<<"字节"<<endl;
    cout<<"unsigned int占"<<sizeof(unsigned int)<<"字节"<<endl;
    cout<<"long占"<<sizeof(long)<<"字节"<<endl;
    cout<<"unsigned long占"<<sizeof(unsigned long)<<"字节"<<endl;
    cout<<"float占"<<sizeof(float)<<"字节"<<endl;
    cout<<"double占"<<sizeof(double)<<"字节"<<endl;
    cout<<"long double占"<<sizeof(long double)<<"字节"<<endl;
    return 0;
}
